package com.wrupple.muba.base.client.state.impl;

import java.util.Map;
import java.util.Set;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.event.shared.EventBus;
import com.google.inject.Inject;
import com.wrupple.muba.base.client.module.services.logic.DesktopSelectionStateDelegate;
import com.wrupple.muba.base.client.state.DesktopPlaceSelectionState;
import com.wrupple.muba.common.client.state.GridSelectionState;
import com.wrupple.muba.common.domain.DesktopPlace;

public class DesktopPlaceSelectionStateImpl extends
		GridSelectionState<DesktopPlace> implements DesktopPlaceSelectionState {
	DesktopSelectionStateDelegate desktopSelectionStateDelegate;
	@Inject
	public DesktopPlaceSelectionStateImpl(
			DesktopSelectionStateDelegate delegate, EventBus bus) {
		super(delegate);
		this.desktopSelectionStateDelegate=delegate;
		
	}


	@Override
	public void initialize(Map<String, Activity> activityMap,
			Set<DesktopPlace> installedWebapps) {
		desktopSelectionStateDelegate.init(activityMap,installedWebapps);
	}


}
